package top.mataiji.manager.pojo;

import java.io.Serializable;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class Merchant implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 商家编号
     */
    private Integer merchantId;

    /**
     * 商家名
     */
    private String merchantName;

    /**
     * 商家电话
     */
    private String merchantTel;

    /**
     * merchant
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName == null ? null : merchantName.trim();
    }

    public String getMerchantTel() {
        return merchantTel;
    }

    public void setMerchantTel(String merchantTel) {
        this.merchantTel = merchantTel == null ? null : merchantTel.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", merchantId=").append(merchantId);
        sb.append(", merchantName=").append(merchantName);
        sb.append(", merchantTel=").append(merchantTel);
        sb.append("]");
        return sb.toString();
    }
}
